Skip to content

slr8:0.0.1#5167

Merged
elegaanz merged 8 commits into
typst:mainfrom
Lukinhasram:slr8
Jun 29, 2026
Merged

slr8:0.0.1#5167
elegaanz merged 8 commits into
typst:mainfrom
Lukinhasram:slr8

Conversation

@Lukinhasram

Copy link
Copy Markdown
Contributor

I am submitting

  • a new package
  • an update for a package

slr8 computes and visualizes the SLR parsing process natively in Typst, without relying on external scripts. By taking a grammar and an input sentence, it generates FIRST/FOLLOW sets, canonical LR(0) items, the DFA, ACTION/GOTO tables, shift-reduce traces, and parse trees. It is useful for educators and students who need to embed compiler design examples directly into their Typst documents

I have read and followed the submission guidelines and, in particular, I

  • selected a name that isn't the most obvious or canonical name for what the package does
    • Explanation:
      The name slr8 is a leetspeak neologism combining the "SLR" parsing algorithm with the number "8" to create a pun on the word "accelerate," reflecting how the package speeds up the creation of parsing diagrams. It complies with the naming rules because it is a stylized, creative term rather than a literal, generic description like slr-visualizer.
  • added a typst.toml file with all required keys
  • added a README.md with documentation for my package
  • have chosen a license and added a LICENSE file or linked one in my README.md
  • tested my package locally on my system and it worked
  • excluded PDFs or README images, if any, but not the LICENSE

@typst-package-check typst-package-check Bot changed the title add slr8 package slr8:0.0.1 Jun 25, 2026
@typst-package-check typst-package-check Bot added the new A new package submission. label Jun 25, 2026
@elegaanz elegaanz self-assigned this Jun 29, 2026

@elegaanz elegaanz left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for this package! I just have a small suggestion.

Comment thread packages/preview/slr8/0.0.1/README.md Outdated
Co-authored-by: Ana Gelez <ana+github@gelez.xyz>
@elegaanz

Copy link
Copy Markdown
Member

Thanks!

@elegaanz elegaanz merged commit 1e3f7df into typst:main Jun 29, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new A new package submission.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants